package com.manage.platform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.manage.platform.dto.query.NewCenterQuery;
import com.manage.platform.entity.NewCenterEntity;
import com.manage.platform.vo.NewCenterVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * YWD
 * 2025/9/28
 */
@Mapper
public interface NewCenterMapper extends BaseMapper<NewCenterEntity> {

    List<NewCenterVo> getNewCenterPage(@Param("query") NewCenterQuery query);

    List<NewCenterVo> getNewTopList(@Param("type") String type, @Param("category") Integer category);
}
